package hu.home.leva.db.users;


import hu.home.leva.db.Entity;


/**
 *
 * @author leva
 */

public class User implements Entity {
    
    private int id;
    private String nickname;
    private String email;
    private String password;

    public User(int id, String nickname, String email, String password) {
        this.id = id;
        this.nickname = nickname;
        this.email = email;
        this.password = password;
    }

    public User(){
        id=-1;
    }

    @Override
    public int getId() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setId(int id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    
    public String getEmail() {
        return email;
    }

     public void setEmail(String email) {
        this.email = email;
    }
     
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    
    
}
